#!/usr/bin/env bash

init() {
	local session_name="$1"
	local window_name="$2"
	
	try_attach_session "=$session_name" && return


	tmux new-session -s "$session_name"
	local created=$?
	
	[[ $created -eq 0 ]] && echo "\033[33mStart session: \033[36;1;2m$session_name\033[0m"
}

init main
unset -f init

